package com.easychat;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * @Author: yudaxian
 * @Description: TODO
 * @DateTime: 2024/7/31 19:36
 **/
@MapperScan("com.easychat.mappers")
@EnableTransactionManagement
@EnableScheduling
@EnableAsync
@SpringBootApplication(scanBasePackages = ("com.easychat"))
public class EasyChatApplication {
    public static void main(String[] args) {
        SpringApplication.run(EasyChatApplication.class, args);
    }
}
